import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router';
import homeRoutes from './routes/table';
import formRoutes from './routes/form';

const routes: RouteRecordRaw[] = [
  ...homeRoutes,
  ...formRoutes
  // 将来添加更多路由配置
];

const router = createRouter({
  history: createWebHistory(),
  routes,
});

export default router;
